/*
 * 
 * Copyright (c) 2016 Yorma All Rights Reserved.
 */
package org.dydl.model.system;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * table:sys_role
 * 
 * @author Hibernate Tools 3.5.0.Final
 * @version 1.0
 * @since 2016-9-7 11:06:57
 */
@Entity
@Table(name = "sys_role")
public class SysRole implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6438798305562585137L;
	/**
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Integer id;
	/**
	 */
	private String name;
	/**
	 */
	private String description;
	/**
	 */
	private Boolean status;

	public SysRole() {
	}

	public SysRole(int id) {
		this.id = id;
	}

	public SysRole(String name, Boolean status) {
		this.name = name;
		this.status = status;
	}

	public SysRole(String name, String description, Boolean status) {
		this.name = name;
		this.description = description;
		this.status = status;
	}

	/**  
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**  
	 */
	public String getName() {
		return this.name;
	}

	/**
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**  
	 */
	public String getDescription() {
		return this.description;
	}

	/**
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**  
	 */
	public Boolean getStatus() {
		return this.status;
	}

	/**
	 */
	public void setStatus(Boolean status) {
		this.status = status;
	}

}
